 <div>
 <h3 className="xian">我的个人信息</h3>
 <div>
     <p> 头像 
         <span>
              {data.avatar?
             <img src={data.avatar.replace(/public/,baseURL)} alt=""/>:''
             }                          
         </span>      
     </p>
     <p>姓名<span>{data.username}</span> <span>性别 <span>{data.sex}</span></span> </p>
     <p>职能 <span>{data.role}</span></p>
     <p>手机号 <span>{data.phone}</span></p> 
     <img src="../../assets/images/lunbo1.jpg" alt="">
    </div>
 </div>    